import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import './index.css'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import mitt from 'mitt'
import { VueMasonryPlugin } from 'vue-masonry';

const emitter = mitt()

const app = createApp(App)

app.config.globalProperties.emitter = emitter

app.use(VueMasonryPlugin);



app.use(createPinia())
app.use(router)

app.use(ElementPlus)
app.mount('#app')
